<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilasu: xasu_shainfo.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilasu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xasu__shainfo_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">xasu_shainfo.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the SHA definitions which are common across the client and server. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0   vns  06/04/24 Initial release
      ma   06/14/24 Updated XAsufw_ShaOperationCmd structure to have 64-bit hash address
      vns  08/22/24 Updated sha command structure
      am   10/22/24 Added macros for hash lengths.
      yog  01/02/25 Added macros for SHA type.</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_asu___sha_operation_cmd.html">XAsu_ShaOperationCmd</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure contains SHA params info.  <a href="struct_x_asu___sha_operation_cmd.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga219220a0d5563c2fc911864cd15a8d96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga219220a0d5563c2fc911864cd15a8d96">XASU_SHA_OPERATION_CMD_ID</a>&#160;&#160;&#160;(0U)</td></tr>
<tr class="memdesc:ga219220a0d5563c2fc911864cd15a8d96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command ID for SHA3 operation command.  <a href="group__xasu__common__defs.html#ga219220a0d5563c2fc911864cd15a8d96">More...</a><br/></td></tr>
<tr class="separator:ga219220a0d5563c2fc911864cd15a8d96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf93a04d434eb1a5f7cf9f5c4cd2f717a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gaf93a04d434eb1a5f7cf9f5c4cd2f717a">XASU_SHA_KAT_CMD_ID</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:gaf93a04d434eb1a5f7cf9f5c4cd2f717a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command ID for SHA3 KAT command.  <a href="group__xasu__common__defs.html#gaf93a04d434eb1a5f7cf9f5c4cd2f717a">More...</a><br/></td></tr>
<tr class="separator:gaf93a04d434eb1a5f7cf9f5c4cd2f717a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga239b2129e26ab9050ef63ce16ac1f763"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga239b2129e26ab9050ef63ce16ac1f763">XASU_SHA_GET_INFO_CMD_ID</a>&#160;&#160;&#160;(2U)</td></tr>
<tr class="memdesc:ga239b2129e26ab9050ef63ce16ac1f763"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command ID for SHA3 Get Info command.  <a href="group__xasu__common__defs.html#ga239b2129e26ab9050ef63ce16ac1f763">More...</a><br/></td></tr>
<tr class="separator:ga239b2129e26ab9050ef63ce16ac1f763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ff7f0c006a8fd37526d549b4b02b511"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga2ff7f0c006a8fd37526d549b4b02b511">XASU_SHA_MODE_SHA256</a>&#160;&#160;&#160;(0U)</td></tr>
<tr class="memdesc:ga2ff7f0c006a8fd37526d549b4b02b511"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA mode 256.  <a href="group__xasu__common__defs.html#ga2ff7f0c006a8fd37526d549b4b02b511">More...</a><br/></td></tr>
<tr class="separator:ga2ff7f0c006a8fd37526d549b4b02b511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8abe96be07950583b1b86b109031db97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga8abe96be07950583b1b86b109031db97">XASU_SHA_MODE_SHA384</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga8abe96be07950583b1b86b109031db97"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA mode 384.  <a href="group__xasu__common__defs.html#ga8abe96be07950583b1b86b109031db97">More...</a><br/></td></tr>
<tr class="separator:ga8abe96be07950583b1b86b109031db97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf72009eaaf78e4306eba5db7264a6560"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gaf72009eaaf78e4306eba5db7264a6560">XASU_SHA_MODE_SHA512</a>&#160;&#160;&#160;(2U)</td></tr>
<tr class="memdesc:gaf72009eaaf78e4306eba5db7264a6560"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA mode 512.  <a href="group__xasu__common__defs.html#gaf72009eaaf78e4306eba5db7264a6560">More...</a><br/></td></tr>
<tr class="separator:gaf72009eaaf78e4306eba5db7264a6560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacee72cf9c2d25a922f117c6da956f25"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gaacee72cf9c2d25a922f117c6da956f25">XASU_SHA_MODE_SHAKE256</a>&#160;&#160;&#160;(4U)</td></tr>
<tr class="memdesc:gaacee72cf9c2d25a922f117c6da956f25"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA mode SHAKE.  <a href="group__xasu__common__defs.html#gaacee72cf9c2d25a922f117c6da956f25">More...</a><br/></td></tr>
<tr class="separator:gaacee72cf9c2d25a922f117c6da956f25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadaa7ebc839c9b19fe4e3609877acc0cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gadaa7ebc839c9b19fe4e3609877acc0cf">XASU_SHA_START</a>&#160;&#160;&#160;(0x1U)</td></tr>
<tr class="memdesc:gadaa7ebc839c9b19fe4e3609877acc0cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA start operation flag.  <a href="group__xasu__common__defs.html#gadaa7ebc839c9b19fe4e3609877acc0cf">More...</a><br/></td></tr>
<tr class="separator:gadaa7ebc839c9b19fe4e3609877acc0cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcc80db079322fc46fb6df27f6fa2aa2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gafcc80db079322fc46fb6df27f6fa2aa2">XASU_SHA_UPDATE</a>&#160;&#160;&#160;(0x2U)</td></tr>
<tr class="memdesc:gafcc80db079322fc46fb6df27f6fa2aa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA update operation flag.  <a href="group__xasu__common__defs.html#gafcc80db079322fc46fb6df27f6fa2aa2">More...</a><br/></td></tr>
<tr class="separator:gafcc80db079322fc46fb6df27f6fa2aa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f016e4ef4883ce5be0ecc6bc2d19fc2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga3f016e4ef4883ce5be0ecc6bc2d19fc2">XASU_SHA_FINISH</a>&#160;&#160;&#160;(0x4U)</td></tr>
<tr class="memdesc:ga3f016e4ef4883ce5be0ecc6bc2d19fc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA finish operation flag.  <a href="group__xasu__common__defs.html#ga3f016e4ef4883ce5be0ecc6bc2d19fc2">More...</a><br/></td></tr>
<tr class="separator:ga3f016e4ef4883ce5be0ecc6bc2d19fc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7423cf1e6eb12f6d307fcdfadde635e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gaa7423cf1e6eb12f6d307fcdfadde635e">XASU_SHA2_TYPE</a>&#160;&#160;&#160;(0x02U)</td></tr>
<tr class="memdesc:gaa7423cf1e6eb12f6d307fcdfadde635e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA2 type.  <a href="group__xasu__common__defs.html#gaa7423cf1e6eb12f6d307fcdfadde635e">More...</a><br/></td></tr>
<tr class="separator:gaa7423cf1e6eb12f6d307fcdfadde635e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7af115dffedb0e4d090e6fa4561a0693"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga7af115dffedb0e4d090e6fa4561a0693">XASU_SHA3_TYPE</a>&#160;&#160;&#160;(0x03U)</td></tr>
<tr class="memdesc:ga7af115dffedb0e4d090e6fa4561a0693"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA3 type.  <a href="group__xasu__common__defs.html#ga7af115dffedb0e4d090e6fa4561a0693">More...</a><br/></td></tr>
<tr class="separator:ga7af115dffedb0e4d090e6fa4561a0693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4bda5abb6cea66699d85952c0ea0c68"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#gab4bda5abb6cea66699d85952c0ea0c68">XASU_SHA_256_HASH_LEN</a>&#160;&#160;&#160;(32U)</td></tr>
<tr class="memdesc:gab4bda5abb6cea66699d85952c0ea0c68"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA2/3 256 hash length.  <a href="group__xasu__common__defs.html#gab4bda5abb6cea66699d85952c0ea0c68">More...</a><br/></td></tr>
<tr class="separator:gab4bda5abb6cea66699d85952c0ea0c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03b4e128752ecabe8915b7c8a8a4d73f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga03b4e128752ecabe8915b7c8a8a4d73f">XASU_SHA_384_HASH_LEN</a>&#160;&#160;&#160;(48U)</td></tr>
<tr class="memdesc:ga03b4e128752ecabe8915b7c8a8a4d73f"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA2/3 384 hash length.  <a href="group__xasu__common__defs.html#ga03b4e128752ecabe8915b7c8a8a4d73f">More...</a><br/></td></tr>
<tr class="separator:ga03b4e128752ecabe8915b7c8a8a4d73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f1dce4b9423d6e10cd1914f67a70178"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga2f1dce4b9423d6e10cd1914f67a70178">XASU_SHA_512_HASH_LEN</a>&#160;&#160;&#160;(64U)</td></tr>
<tr class="memdesc:ga2f1dce4b9423d6e10cd1914f67a70178"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA2/3 512 hash length.  <a href="group__xasu__common__defs.html#ga2f1dce4b9423d6e10cd1914f67a70178">More...</a><br/></td></tr>
<tr class="separator:ga2f1dce4b9423d6e10cd1914f67a70178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48a92eac5a3ea3621a0f3a5e3aefb2be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga48a92eac5a3ea3621a0f3a5e3aefb2be">XASU_SHAKE_256_HASH_LEN</a>&#160;&#160;&#160;(32U)</td></tr>
<tr class="memdesc:ga48a92eac5a3ea3621a0f3a5e3aefb2be"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHAKE 256 hash length.  <a href="group__xasu__common__defs.html#ga48a92eac5a3ea3621a0f3a5e3aefb2be">More...</a><br/></td></tr>
<tr class="separator:ga48a92eac5a3ea3621a0f3a5e3aefb2be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76b2a99254d75adbf6f36f2cfbb39964"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__common__defs.html#ga76b2a99254d75adbf6f36f2cfbb39964">XASU_SHAKE_256_MAX_HASH_LEN</a>&#160;&#160;&#160;(136U)</td></tr>
<tr class="memdesc:ga76b2a99254d75adbf6f36f2cfbb39964"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHAKE 256 maximum hash length.  <a href="group__xasu__common__defs.html#ga76b2a99254d75adbf6f36f2cfbb39964">More...</a><br/></td></tr>
<tr class="separator:ga76b2a99254d75adbf6f36f2cfbb39964"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
